<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class DepartmentsTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {


        \DB::table('departments')->delete();

        \DB::table('departments')->insert(array (
            0 =>
                array (
                    'id' => 1,
                    'parent_id' => 0,
                    'order' => 0,
                    'title' => '天下第一部',
                    'depth' => 1,
                    'created_at' => '2022-12-28 21:48:41',
                    'updated_at' => '2022-12-28 21:48:41',
                ),
            1 =>
                array (
                    'id' => 2,
                    'parent_id' => 1,
                    'order' => 0,
                    'title' => '天處乎上',
                    'depth' => 1,
                    'created_at' => '2022-12-28 21:48:49',
                    'updated_at' => '2022-12-28 22:17:05',
                ),
            2 =>
                array (
                    'id' => 3,
                    'parent_id' => 1,
                    'order' => 0,
                    'title' => '地處乎下',
                    'depth' => 1,
                    'created_at' => '2022-12-28 21:49:00',
                    'updated_at' => '2022-12-28 22:17:19',
                ),
            3 =>
                array (
                    'id' => 4,
                    'parent_id' => 0,
                    'order' => 0,
                    'title' => '长安貳部',
                    'depth' => 1,
                    'created_at' => '2022-12-28 22:11:31',
                    'updated_at' => '2022-12-28 22:11:31',
                ),
            4 =>
                array (
                    'id' => 5,
                    'parent_id' => 4,
                    'order' => 0,
                    'title' => '安庆',
                    'depth' => 1,
                    'created_at' => '2022-12-28 22:13:47',
                    'updated_at' => '2022-12-28 22:13:47',
                ),
            5 =>
                array (
                    'id' => 6,
                    'parent_id' => 4,
                    'order' => 0,
                    'title' => '安乐',
                    'depth' => 1,
                    'created_at' => '2022-12-28 22:13:55',
                    'updated_at' => '2022-12-28 22:13:55',
                ),
            6 =>
                array (
                    'id' => 7,
                    'parent_id' => 0,
                    'order' => 0,
                    'title' => '錦衣衛指揮使司',
                    'depth' => 1,
                    'created_at' => '2022-12-28 22:14:29',
                    'updated_at' => '2022-12-28 22:15:16',
                ),
            7 =>
                array (
                    'id' => 8,
                    'parent_id' => 7,
                    'order' => 0,
                    'title' => '經歷司',
                    'depth' => 1,
                    'created_at' => '2022-12-28 22:18:21',
                    'updated_at' => '2022-12-28 22:18:21',
                ),
            8 =>
                array (
                    'id' => 9,
                    'parent_id' => 7,
                    'order' => 0,
                    'title' => '南鎮撫司',
                    'depth' => 1,
                    'created_at' => '2022-12-28 22:18:38',
                    'updated_at' => '2022-12-28 22:18:38',
                ),
            9 =>
                array (
                    'id' => 10,
                    'parent_id' => 7,
                    'order' => 0,
                    'title' => '北鎮撫司',
                    'depth' => 1,
                    'created_at' => '2022-12-28 22:18:48',
                    'updated_at' => '2022-12-28 22:18:48',
                ),
        ));


    }
}
